package com.xm.settlement.model;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xm.settlement.commons.utils.JsonUtils;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Administrator on 2017/2/7.
 */
@TableName("app_user")
public class AppUser implements Serializable {

        @TableField(exist = false)
        private static final long serialVersionUID = 1L;

        @TableField(exist = false)
        private String newPassword;

        @TableField(exist = false)
        private String newTwoPassword;

        /**
         * 性别
         */
        private Integer sex;

        /**
         * 年龄
         */
        private Integer age;

        /**
         * 主键id
         */
        @TableId(type = IdType.AUTO)
        private Long id;

        /**
         * 登陆名(会员编号)
         */
        @TableField(value = "vip_code")
        private String vip_code;

        /**
         * 用户名(昵称)
         */
        private String name;

        /**
         * 密码
         */
        private String password;

        /**
         * 手机号
         */
        private String phone;

        /**
         * 用户状态
         */
        private Integer status;

        /**
         * 创建时间
         */
        @TableField(value = "create_time")
        private Date createTime;

        private Integer qq;

        private String weix;


        @TableField(value = "push_code")
        private String push_code;

        /**
         *   *服务中心编号
         * */
        @TableField(value = "service_code")
        private String service_code;

        /**
         * *市场位置
         * */
        @TableField(value = "market_address")
        private String market_address;

        /**
         * 银行名称
         * */
        @TableField(value = "bank_name")
        private String bank_name;

        /**
         * 开户人名
         * */
        @TableField(value = "bank_user_name")
        private String bank_user_name;

        /**
         * 开户人卡号
         * */
        @TableField(value = "bank_user_card")
        private Long bank_user_card;

        /**
         *  二级密码
         * */
        @TableField(value = "two_password")
        private String two_password;

        @TableField(value = "organizationId")
        private  Long organizationId;



        public Integer getQq() {
            return qq;
        }

        public void setQq(Integer qq) {
            this.qq = qq;
        }

        public String getWeix() {
            return weix;
        }

        public void setWeix(String weix) {
            this.weix = weix;
        }

        public String getPush_code() {
            return push_code;
        }

        public void setPush_code(String push_code) {
            this.push_code = push_code;
        }

        public String getService_code() {
            return service_code;
        }

        public void setService_code(String service_code) {
            this.service_code = service_code;
        }

        public String getMarket_address() {
            return market_address;
        }

        public void setMarket_address(String market_address) {
            this.market_address = market_address;
        }

        public String getBank_name() {
            return bank_name;
        }

        public void setBank_name(String bank_name) {
            this.bank_name = bank_name;
        }

        public String getBank_user_name() {
            return bank_user_name;
        }

        public void setBank_user_name(String bank_user_name) {
            this.bank_user_name = bank_user_name;
        }

        public String getTwo_password() {
            return two_password;
        }

        public void setTwo_password(String two_password) {
            this.two_password = two_password;
        }

        public Long getId() {
            return this.id;
        }

        public void setId(Long id) {
            this.id = id;
        }

        public String getName() {
            return this.name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPassword() {
            return this.password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getPhone() {
            return this.phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public Integer getStatus() {
            return this.status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }


        public Date getCreateTime() {
            return this.createTime;
        }

        public void setCreateTime(Date createTime) {
            this.createTime = createTime;
        }

        @Override
        public String toString() {
            return JsonUtils.toJson(this);
        }

        public String getVip_code() {
            return vip_code;
        }

        public void setVip_code(String vip_code) {
            this.vip_code = vip_code;
        }

        public Integer getSex() {
            return sex;
        }

        public void setSex(Integer sex) {
            this.sex = sex;
        }

        public Integer getAge() {
            return age;
        }

        public void setAge(Integer age) {
            this.age = age;
        }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getNewTwoPassword() {
        return newTwoPassword;
    }

    public void setNewTwoPassword(String newTwoPassword) {
        this.newTwoPassword = newTwoPassword;
    }

    public Long getBank_user_card() {
        return bank_user_card;
    }

    public void setBank_user_card(Long bank_user_card) {
        this.bank_user_card = bank_user_card;
    }

    public Long getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(Long organizationId) {
        this.organizationId = organizationId;
    }
}


